// 专栏
import request from '@/utils/request';

export function getColumn(params) {
  return request({
    url: `columns/${params}`,
    method: 'get',
  });
}
export function getColumns(params) {
  return request({
    url: 'columns',
    method: 'get',
    params,
  });
}

export function updateColumns(data) {
  return request({
    url: 'columns/{id}',
    method: 'patch',
    data,
  });
}
